#ifndef MYCPORT_H
#define MYCPORT_H

#include <QObject>
#include "public_global.h"
#include "Unit.h"

//---------------------------------------------- myCPort---------------------
class myCPort : public QObject
{
    Q_OBJECT
public:
   explicit myCPort(QObject *parent = 0);
protected:
    virtual ~myCPort();
public:
    string        m_strType;                          // 该通信口类型;
    string			m_strName;                        // 该通信口名称(唯一性);
    bool			m_bUsed;                           // 是否投入使用标志;
    vector<myCUnit*> m_units;                  // 下挂的所有单元;
public:
    virtual myCPort * Clone(void);

signals:

public slots:

};

#endif // MYCPORT_H
